package nettyProtocol.handshakeAndAuthentication;

public enum  MessageType {
    BUSINESS_REQ((byte)0,"业务请求消息"),
    BUSINESS_RESP((byte)1,"业务应答消息"),
    ONE_WAY((byte)2,"业务ONE WAY消息"),
    LOGIN_REQ((byte)3,"握手请求消息"),
    LOGIN_RESP((byte)4,"握手应答消息"),
    HEART_REQ((byte)5,"心跳请求消息"),
    HEART_RESP((byte)6,"心跳应答消息");

    public byte value;
    String describe;
    private MessageType(byte type, String describe) {
        this.value = type;
        this.describe = describe;
    }

}
